﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AudioCore.Entity
{
    public class CategoryArticleEntity : BaseEntity
    {
        [PropertyEntity("CategoryArticleID", true)]
        public int CategoryArticleID { get; set; }

        [PropertyEntity("CategoryID", true)]
        public int CategoryID { get; set; }

        [PropertyEntity("ArticleID", true)]
        public int ArticleID { get; set; }

        [PropertyEntity("SortOrder", true)]
        public DateTime SortOrder { get; set; }

        // Extended properties
        [PropertyEntity("ParentID", false)]
        public int ParentID { get; set; }

        [PropertyEntity("CategoryName", false)]
        public string CategoryName { get; set; }

        [PropertyEntity("Editting", false)]
        public bool Editting { get; set; }
    }
}
